package com.noizycat.ver2.util;

import twitter4j.User;

import com.noizycat.ver2.dto.UserDto;

public class UserUtil {

    public static UserDto getUserDto(User user) {

        UserDto userDto = new UserDto();

        // User SID
        userDto.setUserSID(user.getId());
        // User ScreenName
        userDto.setScreemName(user.getScreenName());
        // User Name
        userDto.setUserName(user.getName());

        return userDto;
    }

}
